require("../../assets/css/index.less")
require("./advert.less")
import('animate.css');

let time = document.querySelector(".time");
window.onload =()=>{
    let times = 5;
   let timer = setInterval(function(){
       times--;
       time.textContent = `${times}s`;
       if(times ===1 ){
           clearInterval(timer);
           location.href="./login.html"
       }
    },1000)
    
}